package business;

import java.util.Date;

public class Event 
{	
	//Member Variables
	private String Name;
	private Date StartTime;
	private Date EndTime;
	private int MaxCapacity;
	private boolean Status; //open=true   closed=false
	private Hall Location;
	
	//Constructor
	public Event(String Name, Date StartTime, Date EndTime, int MaxCapacity, boolean Status, Hall Location)
	{
		this.Name = Name;
		this.StartTime = StartTime;
		this.EndTime = EndTime;
		this.MaxCapacity = MaxCapacity;
		this.Status = Status;
		this.Location = Location;	
	}

	
	//ACCESSORS AND MUTATORS
	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public Date getStartTime() {
		return StartTime;
	}

	public void setStartTime(Date startTime) {
		StartTime = startTime;
	}

	public Date getEndTime() {
		return EndTime;
	}

	public void setEndTime(Date endTime) {
		EndTime = endTime;
	}

	public int getMaxCapacity() {
		return MaxCapacity;
	}

	public void setMaxCapacity(int maxCapacity) {
		MaxCapacity = maxCapacity;
	}

	public boolean isStatus() {
		return Status;
	}

	public void setStatus(boolean status) {
		Status = status;
	}

	public Hall getLocation() {
		return Location;
	}

	public void setLocation(Hall location) {
		Location = location;
	}
	
	
}
